<?php
/**
 * TinyMVC - index.php file
 *
 * This is an example of bootstrap file for project
 *
 * @author Adrian Wieczorek <adi(at)tinymvc(dot)org>
 * @package TinyMVC
 * @subpackage ProjectTemplate
 * @version $Id: index.php 6 2007-09-11 17:27:16Z adi3ek $
 *
 */

/**#@+
 * Constants
	*/
/**
 * full path to project's main folder
 */
define('TINYMVC_PROJECT_PATH', realpath(dirname(__FILE__) . '/../'));
/**#@-*/

/**
 * TinyMVC framework init.php file, make sure this path is correct
 */
require_once('../../php-tinymvc-0.9beta/init.php');

$frontController = new TinyMVCFrontController(TinyMVCHttpRequest::getInstance(), new TinyMVCViewRenderer);
$frontController->doService();
